package com.dgut.coal.dao;

import com.dgut.coal.entity.Supplier;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: Yang
 * @Description:
 * @Date: Created in 9:22 2019/10/8
 * @Modifued BY:
 */
@Repository
public interface SupplierDao {

    int passSupplier(@Param("suppliers") List<Supplier> suppliers);

    List<Supplier> realSupplier(@Param("apply_id") Integer apply_id);

    Supplier findSupplierById(int id);
}
